From: robertl Date: Sun, 20 Dec 2009 20:32:24 +0000 (+0000) Subject: Bushnell fixes for 64-bit system. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~199^2~91 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=c5e282ef0a25e0369bb84ea33d9a3658904490ca;p=gpsbabel.git Bushnell fixes for 64-bit system. --- diff --git a/bushnell.c b/bushnell.c index 0b7a0403f..513edf3a1 100644 --- a/bushnell.c +++ b/bushnell.c @@ -177,13 +177,13 @@ wr_deinit(void) { */ static void bushnell_read(void) { - long lat_tmp,lon_tmp; + gbint32 lat_tmp,lon_tmp; unsigned int unknown; unsigned int icon; waypoint *wpt_tmp = waypt_new(); - lat_tmp = gbfgetuint32(file_in); - lon_tmp = gbfgetuint32(file_in); + lat_tmp = gbfgetint32(file_in); + lon_tmp = gbfgetint32(file_in); icon = gbfgetc(file_in); wpt_tmp->icon_descr = bushnell_get_name_from_symbol(icon);